package com.tudouji.project.d3.domain;

import java.math.BigDecimal;
import com.tudouji.framework.aspectj.lang.annotation.Excel;
import com.tudouji.framework.web.domain.BaseEntity;
import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

/**
 * D3平台订单明细对象 d3_order_item
 * 
 * @author tudouji
 * @date 2023-03-29
 */
@Data
public class D3OrderItem extends BaseEntity
{
    private static final long serialVersionUID = 1L;
    /**
     * {
     *        "totalPrice": 479.2,
     *        "num": 8,
     *        "refSkuId": "1758697107189773",
     *        "refOlId": "5047904184145264484",
     *        "refundStatus": "NO_REFUND",
     *        "sellPrice": 57.4,
     *        "title": "【银银专属】鲜味结界高纤土豆泥营养代餐0蔗糖低脂多口味3盒/5盒送赠品",
     *        "refSpuId": "3601809994363863117",
     *        "standards": "紫薯玉米、葱香、原味:原味1盒+葱香味1盒+紫薯玉米1盒（送勺子1只）;",
     *        "picUrl": "https://p3-aio.ecombdimg.com/obj/ecom-shop-material/xxLJLqu_m_22088f3c953a4fffa4d030b1c375b69e_sx_271035_www800-800",
     *        "totalSellPrice": 459.2,
     *        *********"singleFee": 57.4,
     *        *********"totalFee": 459.2,
     *        "price": 59.9,
     *        "outerId": "3598827098757845703",
     *        "status": "CANCEL"
     *    }
     */
    /** $column.columnComment */
    private Long id;

    /** 子订单id */
    @Excel(name = "主订单id")
    private Long d3OrderId;

    private String refOlId;

    /** 平台SPU_ID */
    @Excel(name = "平台SPU_ID")
    private String refSpuId;

    /** 平台SKU_ID */
    @Excel(name = "平台SKU_ID")
    private String refSkuId;

    /** 商家编码 */
    @Excel(name = "商家编码")
    private String outerId;

    /** 货品标题 */
    @Excel(name = "货品标题")
    private String title;

    /** 货品规格 */
    @Excel(name = "货品规格")
    private String standards;

    /** 子订单状态 */
    @Excel(name = "子订单状态")
    private String status;

    /** 子订单售后状态 */
    @Excel(name = "子订单售后状态")
    private String refundStatus;

    /** 原价 */
    @Excel(name = "原价")
    private BigDecimal price;

    /** 售价 */
    @Excel(name = "售价")
    private BigDecimal sellPrice;

    /** 数量 */
    @Excel(name = "数量")
    private Integer num;

    /** 原价合计 */
    @Excel(name = "原价合计")
    private BigDecimal totalPrice;

    /** 售价合计 */
    @Excel(name = "售价合计")
    private BigDecimal totalSellPrice;


    /** 商品图片URL */
    @Excel(name = "商品图片URL")
    private String picUrl;

    @Excel(name = "单个商品应收金额")
    private String singleFee;

    @Excel(name = "应收金额")
    private BigDecimal totalFee;

    private Long spId;
    private String spName;
    private Long shopId;

}
